package com.woniu.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.car.dto.CommentInsertDto;
import com.woniu.car.dto.CommentQueryDto;
import com.woniu.car.entity.TServiceComment;
import com.woniu.car.exception.ServiceSException;
import com.woniu.car.param.*;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
public interface TServiceCommentService extends IService<TServiceComment> {

    public CommentInsertDto insert(CommentInsertParam commentInsertParam,Integer id);

    public List<CommentQueryDto> queryComment(CommentQueryParam commentQueryParam) throws Exception;

    public CommentQueryDto updateCommentByUser(UpadateCommentByUserParam upadateCommentByUserParam);

    public CommentQueryDto updateByShop(UpdateCommentByShopParam updateCommentByShopParam) throws ServiceSException;

    public CommentQueryDto updateByShopT(UpdateCommentByShopTParam updateCommentByShopTParam) throws ServiceSException;

    public CommentQueryDto updateComment(UpdateCommentParam updateCommentParam) throws ServiceSException;
}
